package com.gouying.design.patterns.fly;

public class ConWebsit implements WebSit {

    private String type;

    public ConWebsit(String type) {
        this.type = type;
    }

    @Override
    public void use(User user) {
        System.out.println(user.name + "使用" + type + "网站");
    }
}
